-- GENERATED SPELL FOR [Frost Wyrm] --


function spell0_17907(pUnit, Event) --@Frost Breath,n/a--
pUnit:FullCastSpellOnTarget(31688,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17907', 9000, 1)
end

function Sorts_17907(pUnit, Event)
local choix_sorts_17907 = math.random(0, 0)
if choix_sorts_17907 == 0 then
pUnit:RegisterEvent('spell0_17907', 1, 1)
end
end

function mob17907_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17907', math.random(1500, 3000), 1)
end

function mob17907_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17907_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17907_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17907, 1, 'mob17907_Action')
RegisterUnitEvent(17907, 2, 'mob17907_Leave')
RegisterUnitEvent(17907, 3, 'mob17907_Kill')
RegisterUnitEvent(17907, 4, 'mob17907_Die')
